package com.yww.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * 角色 实体类
 * 杨雯雯
 */
@Data
@AllArgsConstructor
@NoArgsConstructor

@ApiModel(value="Roles对象", description="")
public class Roles {
    @TableId(type = IdType.AUTO)

    private Integer roleId;
    @NotNull
    private String roleName;
}
